package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTMubanYinshi;
import com.hu.zhcc.shiro.service.xsx.TMubanYinshiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-22
 */
@RestController
@RequestMapping("/tMubanYinshi")
public class TMubanYinshiController {

    @Autowired
    TMubanYinshiService yinshiService;

    @PostMapping("/{id}")
    private List<XsxTMubanYinshi> queryById(@PathVariable("id") Integer id){
        return yinshiService.queryCheckId(id);
    }


}

